package routers

import (
	"github.com/gin-gonic/gin"
	. "kuaixinwen/controllers"
)

func Run() *gin.Engine{
	router := gin.Default()
	//Hello World
	router.GET("/", ShowIndex)
	router.POST("/", TestPost)
	router.POST("/user/getuserlist", GetUserList)

	return router
}
